-
Home
-
NitroPack – Caching & Speed Optimization for Core Web Vitals, Defer CSS & JS, Lazy load Images and CDN
-
1.18.0 (latest)
-
Code
-
Classes
- Pagecache
Total Complexity |
107 |
Dependencies |
6 |
Dependents |
1 |
Total lines |
421 |
Lines of code |
311 |
Logical lines of code |
187 |
Comment lines |
9 |
Methods |
31 |
Properties |
13 |
Methods 31
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
hasExpired() |
A |
46 |
15 |
37 |
cookiePrefix() |
A |
53 |
9 |
20 |
returnCacheFileContent() |
A |
50 |
8 |
29 |
getRemainingTtl() |
S |
52 |
6 |
24 |
setContent() |
S |
59 |
6 |
14 |
getUrlDir() |
S |
54 |
5 |
20 |
setReferer() |
S |
58 |
5 |
15 |
headersFlatten() |
S |
61 |
4 |
13 |
hasCache() |
S |
65 |
4 |
9 |
compress() |
S |
62 |
4 |
10 |
getCachefilePath() |
S |
66 |
4 |
7 |
convertToStaleCache() |
S |
59 |
3 |
14 |
canUseCompression() |
S |
78 |
3 |
3 |
ajaxPrefix() |
S |
77 |
3 |
3 |
setDataDir() |
S |
65 |
3 |
10 |
__construct() |
S |
58 |
1 |
15 |
useInvalidated() |
S |
72 |
2 |
6 |
setUrlPathVersion() |
S |
72 |
2 |
6 |
readfile() |
S |
64 |
2 |
9 |
getFileContents() |
S |
70 |
2 |
7 |
enableCompression() |
S |
72 |
2 |
6 |
sslPrefix() |
S |
78 |
2 |
3 |
customCachePrefix() |
S |
75 |
2 |
4 |
isCompressionAllowed() |
S |
77 |
2 |
3 |
disableCompression() |
S |
72 |
2 |
6 |
getReferer() |
S |
82 |
1 |
3 |
setCookiesProvider() |
S |
81 |
1 |
3 |
getUseInvalidated() |
S |
82 |
1 |
3 |
getParent() |
S |
82 |
1 |
3 |
setGeotVariations() |
S |
81 |
1 |
3 |
nameOfCachefile() |
S |
78 |
1 |
3 |